package com.monster.mvc.service.impl;

import com.monster.mvc.dao.UserDAO;
import com.monster.mvc.model.entity.UserEntity;
import com.monster.mvc.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * description:
 *
 * @author Yuanml on 2020/12/30 22:31
 */
@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserDAO userDAO;
    @Override
    public void addUser(UserEntity userEntity) {
        userDAO.insert(userEntity);
    }
}
